@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="studentInfoForm">
            <input type="hidden" id="orgId" value='${org.id}'>
            <input type="hidden" id="uploadUrl" value="${uploadUrl}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="orgName" name="所属学校" value="${org.name}" underline="true" disabled="disabled"/>
                    <#input id="cellphone" name="登录手机" underline="true"/>
                    <#input id="studentCode" name="学籍号" underline="true" span="true"/>
                    <#input id="birthday" name="出生日期" underline="true"/>
                    <#input id="telephone" name="联系电话" underline="true"/>
                    <#input id="parentsName" name="家长姓名" underline="true"/>
                    <#input id="nativePlace" name="籍贯" underline="true"/>
                    <#select id="politicalStatus" name="政治面貌" underline="true" >
                    <option value="">请选择</option>
                    @for(political in GBPolitical){
                    <option value="${political.code}">
                        ${political.cname}
                    </option>
                    @}
                </#select>
                </div>

                <div class="col-sm-6">
                    <#input id="name" name="姓名" underline="true" span="true"/>
                    <#select id="sex" name="性别" underline="true">
                    @for(sex in GBSex){
                    <option value="${sex.code}">${sex.cname}</option>
                    @}
                </#select>
                <#input id="studentCardId" name="校卡号" underline="true"/>
                <#select id="nationCode" name="民族" underline="true">
                <option value="">请选择</option>
                @for(nation in GBNation){
                <option value="${nation.code}">${nation.cname}</option>
                @}
            </#select>
            <#input id="email" name="电子邮箱" underline="true"/>
            <#input id="parentsPhone" name="家长联系方式" underline="true"/>
            <#select id="poorType" name="经济困难生" underline="true" >
            <option value="">请选择</option>
            @for(poorStudentType in poorStudentTypes){
            <option value="${poorStudentType.value}" }>${poorStudentType.name}</option>
            @}
        </#select>
    <#input id="postCode" name="邮编" underline="true"/>
        <#avatar  id="avatar" name="上传头像"/>
    </div>
</div>

<div class="progress progress-striped" id="progressTipArea" style="margin-top: 10px;">
    <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar"
         class="progress-bar progress-bar-info">
    </div>
</div>
<div class="row btn-group-m-t">
    <div class="col-sm-10">
        <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
        clickFun="PtStudentInfoDlg.addSubmit()"/>
        <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
        clickFun="PtStudentInfoDlg.close()"/>
    </div>
</div>
</div>

</div>
</div>
<script src="${ctxPath}/static/modular/system/ptStudent/ptStudent_info.js"></script>
<script>
    laydate.render({
        elem: '#birthday'
    });
</script>
<style>

</style>
@}
